package com.leyou.item.mapper;

import com.leyou.item.pojo.SpecParam;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

@Component
public interface SpecParamMapper extends Mapper<SpecParam> {

    @Delete("DELETE FROM tb_spec_param WHERE cid = #{cid}")
    void deleteByCid(@Param("cid") Long cid);
}
